agents.anac.y2010.AgentSmith
Class BidComparator

java.lang.Object
  extended by agents.anac.y2010.AgentSmith.BidComparator
All Implemented Interfaces:
java.util.Comparator<Bid>

public class BidComparator
extends java.lang.Object
implements java.util.Comparator<Bid>


Constructor Summary
BidComparator(PreferenceProfileManager pProfile)
           
 
Method Summary
 int compare(Bid b1, Bid b2)
           
 double getMeasure(Bid b1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

BidComparator

public BidComparator(PreferenceProfileManager pProfile)
Method Detail

compare

public int compare(Bid b1,
                   Bid b2)
Specified by:
compare in interface java.util.Comparator<Bid>

getMeasure

public double getMeasure(Bid b1)